package com.aaa.behind.dao;

import com.aaa.entity.GDeposit;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 保存方式 Mapper 接口
 * </p>
 *
 * @author whj
 * @since 2023-01-30
 */
public interface GDepositMapper extends BaseMapper<GDeposit> {


    IPage findDepositByCondition(IPage iPage, @Param("map") GDeposit gDeposit);

    @Select("select * from g_deposit")
    List<GDeposit> findAllDeposit();
}
